package com.diditech.iov.gps.test.api.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试api
 * @author hefan
 * @date 2020/8/18 10:26
 */
@RestController
public class ApiController {

    @GetMapping("/hello")
    public String getRequest() {
        return "Hello World.";
    }

    @GetMapping("/no-auth")
    public String noAuth() {
        return "noAuth.";
    }

}
